package com.tencent.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @BelongsProject: health2.0
 * @BelongsPackage: com.tencent.entity
 * @ClassName: Habitus
 * @Description: TODO
 * @Version: 1.0.0
 * @CreateTime: 2022-08-17  09:26
 * @Author: Yangjx
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Habitus {//yzl
    /*
    `time~ '评估日期，
    soft~ ‘平和质'，
    `airweak~ ‘气虚质',
    `sunweak~ ‘阳虚质,
    moonweak~‘阴虚质,
    phlegm~ '痰湿质'，
    wet~ ‘湿热质·,
    `blood ‘血瘀质'，
    gas~ '气郁质·，
    `specia ‘特禀质'
     */

    private int id;
    private String fileid;
    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date time;

    private int soft;
    private int airweak;
    private int sunweak;
    private int moonweak;
    private int phlegm;
    private int wet;
    private int blood;
    private int gas;
    private int specia;
}

